﻿<controls:ChildWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"    
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" mc:Ignorable="d"  
    x:Class="LASGui.Views.CustomChildWindow"    
    Title="Cargando" FontFamily="/LASGui;component/Fonts/GeosansLight.ttf#GeosansLight" FontSize="16" HasCloseButton="False" UseLayoutRounding="True" Style="{StaticResource ChildWindowStyle1}">

    <Grid x:Name="LayoutRoot" Width="540">
        <Grid.RowDefinitions>
        	<RowDefinition Height="Auto"/>
        	<RowDefinition Height="Auto"/>
        	<RowDefinition/>
        	<RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

    	<StackPanel x:Name="ContentStackPanel" Grid.Row="2" Margin="0,6,0,0">
        	<TextBox x:Name="ErrorTextBox" Height="90" TextWrapping="Wrap" IsReadOnly="True"
        		VerticalScrollBarVisibility="Auto" Margin="8,0" Background="#FFA7A5A5" FontSize="16" BorderBrush="{x:Null}"/>
        	<Grid Height="54" Margin="8,0,25,0">
        		<Rectangle Fill="#FF0384C5" RadiusX="20" RadiusY="30" Margin="0,8,0,7" HorizontalAlignment="Right" Width="93" />
        		<HyperlinkButton x:Name="OkButton" Style="{StaticResource ButtonStyle}" Content="   Ok" FontSize="24"  Margin="0,13,8,8" Click="OkButtonClick" HorizontalAlignment="Right" Width="76"/>
        		<Grid x:Name="PanelMonto" Margin="143,-36,17,0" Height="40" VerticalAlignment="Top" Visibility="Collapsed">
        			<sdk:Label Margin="0,0,0,17" HorizontalAlignment="Left" Width="54" Content="Monto:" VerticalAlignment="Bottom"/>
        			<TextBox x:Name="Monto" Margin="58,0,123,13" TextWrapping="Wrap" d:LayoutOverrides="Height"/>
        		</Grid>
        		<Grid x:Name="PanelRango" Margin="151,-36,-16,0" Height="40" VerticalAlignment="Top" Visibility="Collapsed">
        			<sdk:Label Margin="0,4,0,17" HorizontalAlignment="Left" Width="42" Content="De:" d:LayoutOverrides="Height"/>
        			<controls:DatePicker x:Name="FechaInicio" Margin="42,0,0,13" HorizontalAlignment="Left" d:LayoutOverrides="Height"/>
        			<controls:DatePicker x:Name="FechaFinal" Margin="0,0,25,13" HorizontalAlignment="Right" d:LayoutOverrides="Height"/>
        			<sdk:Label Margin="185,4,120,17" Content="Hasta: " d:LayoutOverrides="Height"/>
        		</Grid>
        	</Grid>

        </StackPanel>

    </Grid>

</controls:ChildWindow>